package com.wm.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author hyq
 * @since 2023-10-09 12:01:56
 */
@Getter
@Setter
@TableName("shop_info")
@ApiModel(value = "ShopInfo对象", description = "")
public class ShopInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("店铺信息id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("店铺名称")
    @TableField("shop_name")
    private String shopName;

    @ApiModelProperty("成立时间")
    @TableField("establish_time")
    private LocalDate establishTime;

    @ApiModelProperty("店铺地址")
    @TableField("establish_address")
    private String establishAddress;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("1:有效，2：无效")
    @TableField("state")
    private String state;


}
